<?php
namespace Admin\Model;
use Think\Model\ViewModel;

class CustomerViewModel extends ViewModel
{
    public $viewFields = array(

        'customers' => array(
            'c_id','ai_manager' ,'wechat_manager' ,'c_name' ,'mobile' ,
            'wx_num' ,'c_area' ,'keyword' ,'remark','is_conversion','create_time',
            '_type' => 'LEFT'
        ),
        'manager' => array(
            'name',
            '_on' => 'manager.id = customers.ai_manager' ,
            '_type' => 'LEFT'
        )
    );
}